package com.hahaliu.hahaliu.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentTree {
	private Integer id;
	private Integer vid;
	private Integer rootId;
	private Integer parentId;
	private String content;
	private User user;
	private User toUser;
	private Integer love;
	private Integer bad;
	private List<CommentTree> replies;
	private Date createTime;
	private Long count;
}
